﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Forwarder.Web.Models
{
    public class UserContext
    {
        //用户名
        public string UserName { get; set; }

        //单位名称
        public string UnitName { get; set; }

        //单位编号
        public string UnitCode { get; set; }

        //角色
        public List<string> Roles { get; set; }

        //是否管理员
        public bool IsAdmin { get; private set; }
    }

}